@import "../base/color.scss";
@import "../base/mixin.scss";

$nav-height: 50px;
$menu-width: 200px;

.main {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    overflow: hidden;
    color: $black_1;
    background-color: $white_2;
    font-size: 14px;
    display: flex;
    .left-menu {
        flex: 0 0 $menu-width;
        width: $menu-width;
        height: 100%;
    }
    .main-right {
        flex: 1 1 auto;
        width: 100%;
        height: 100%;
        overflow-y: hidden;
    }
    .main-wrapper {
        width: 100%;
        height: calc(100% - 50px);
        display: flex;
        flex-direction: column;
    }
    .main-searchbar {
        flex: 0 0 auto;
    }
    .main-toolbar {
        flex: 0 0 auto;
        width: 100%;
        display: flex;
        justify-content: flex-start;
        align-content: flex-start;
        flex-wrap: wrap;
        padding: 5px 10px 15px;
        box-sizing: border-box;
        .el-button {
            margin-top: 10px;
            
            &:first-child {
                margin-left: 10px;
            }
            .svg-icon {
                font-size: 12px;
            }
        }
    }

    .main-content {
        flex: 1 1 auto;
        width: 100%;
        overflow-y: auto;
        &.table-pagination {
            padding: 0 20px;
            box-sizing: border-box;
            display: flex;
            flex-direction: column;
            .el-table {
                flex: 1 1 auto;
            }
            .el-pagination {
                padding: 15px 20px;
            }
        }
    }
}



// 产品，插件列表不显示多选
.product .el-table .el-table__header .el-checkbox {
    display: none;
}
.plugin .el-table .el-table__header .el-checkbox {
    display: none;
}
